import React, { Component } from "react";
import Layout from "../prelesson6/Layout";
// import TopBar from "../../components/TopBar";
// import BottomBar from "../../components/BottomBar";

export default class HomePage extends Component {
    render() {
        return (
            <Layout showTopBar={true} showBottomBar={true} title='商城首页'>
                {{
                    content: (
                            <div>
                                <h3>HomePage</h3>
                            </div>
                        ),
                    txt: '这是个文本',
                    btnClick:() => {
                        console.log("btnClick");
                    }
                }}
             </Layout>
        );
    }
}
